<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>09-散点图</title>
</head>
<body>
  <div id="main" style="width: 600px;height:400px;"></div>
  <script src="./js/echarts.js"></script>
  <script>
    // 基于准备好的dom，初始化echarts实例
    var myChart = echarts.init(document.getElementById('main'))
    myChart.setOption({
      xAxis:{},
      yAxis:{},
      series:{
        type:'scatter',
        data:[
          [13,44],
          [22,37],
          [25,63],
          [12,33]
        ]
      }
    })
    </script>
</body>
</html>